<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of CountWidget
 *
 * @author n1kolyan
 */
class CountWidget extends CWidget
{
	public function run()
	{
            $count_work=sell::model()->count();
            $count_order=order::model()->count();
            $this->render('count',array('work'=>$count_work,'order'=>$count_order));
	}
}
?>
